package com.enfi.api.modules.db.base;

import lombok.Data;

import javax.persistence.EmbeddedId;
import javax.persistence.MappedSuperclass;
import java.io.Serializable;

/**
 * @author wind
 * @date 2020/4/8
 */
@Data
@MappedSuperclass
public abstract class BaseEmbeddedIdEntity<ID extends Serializable> {
    @EmbeddedId
    private ID embeddedId;
}
